/* Copyright (c) 2014, Google Inc. Please see the AUTHORS file for details. */
/* All rights reserved.  Use of this source code is governed by a BSD-style */
/* license that can be found in the LICENSE file. */

.treeviewcell {
  height: 100%;
  line-height: 1.428571429;
}

.treeviewcell-dragoverlay {
  border: 2px solid #aaf;
  border-radius: 10px;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0px;
}

.treeviewcell-content {
  position: absolute;
  top: 0px;
  height: 100%;
}

.treeviewcell-disclosure {
  fill: #7d7d7d;
  position: absolute;
  top: calc((100% - 28px) / 2);
  transition: -webkit-transform 75ms;
  -webkit-transform: rotate(-90deg) translate(0, -2px);
}

.listview-cell-highlighted .treeviewcell-disclosure {
  fill: #ddd;
}

.treeviewcell-disclosure:hover {
  fill: #000;
}

.listview-cell-highlighted .treeviewcell-disclosure:hover {
  fill: #fff;
}

.treeviewcell-disclosed {
  -webkit-transform: rotate(0deg) translate(-4px, 2px);
}

/* From bootstrap.css, slightly altered to match CDE's main menu style. */

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 3px 0;
  margin: 2px 0 0;
  font-size: 14px;
  list-style: none;
  background-color: #ffffff;
  border: none;
  border-radius: 3px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  background-clip: padding-box;
}

.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}

.dropdown-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

.dropdown-menu > li {
  height: 35px;
  margin: 0;
}

.dropdown-menu > li.divider {
  margin: 2px 0;
}

.dropdown-menu > li > a {
  display: flex;
  height: 35px;
  align-items: center;
  padding: 3px 20px;
  clear: both;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.428571429;
  color: #333333;
  white-space: nowrap;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #262626;
  text-decoration: none;
  background-color: #e4e4e4;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #ffffff;
  text-decoration: none;
  background-color: #e4e4e4;
  background-image: none;
  outline: 0;
}

.open > .dropdown-menu {
  display: block;
}

.open > a {
  outline: 0;
}

.dropdown-header {
  display: block;
  padding: 3px 20px;
  font-size: 12px;
  line-height: 1.428571429;
  color: #999999;
}

.dropdown-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 990;
}

.pull-right > .dropdown-menu {
  right: 0;
  left: auto;
}

.text-muted {
  color: #999999;
}

/* End from bootstrap. */
